package com.cq.service;

import com.cq.pojo.Banner;

import java.util.List;

/**
 * @Author: 悠久的苍穹
 * @Date: 2021/1/20 15:55
 * @Description: 广告服务层
 * @Version: 1.0
 */
public interface BannerService {

    List<Banner> findAllBanner();

    List<Banner> findBanners(int page, int limit);

    int getCount();

    Banner findBannerById(int id);

    int updateBanner(Banner banner);

    List<Banner> findAllBannerIshow();

    int addBanner(Banner banner);

    void deleteBannerById(int id);
}
